﻿<?php
// Example 1
$pizza  = "piece1";
$pieces = explode(" ", $pizza);
echo $pieces[0]; // piece1
?>